home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / naffga1a / form1.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-10-18  |  39.5 KB  |  1,395 lines

  1. VERSION 5.00
  2. Begin VB.Form NaffGame 
  3.    BackColor       =   &H00C0C0C0&
  4.    Caption         =   "Naff Game"
  5.    ClientHeight    =   9930
  6.    ClientLeft      =   2910
  7.    ClientTop       =   1200
  8.    ClientWidth     =   10860
  9.    LinkTopic       =   "Form1"
  10.    ScaleHeight     =   9930
  11.    ScaleWidth      =   10860
  12.    WindowState     =   2  'Maximized
  13.    Begin VB.CommandButton cmdUp 
  14.       Caption         =   "Up"
  15.       Height          =   975
  16.       Left            =   9840
  17.       TabIndex        =   11
  18.       Top             =   1080
  19.       Width           =   975
  20.    End
  21.    Begin VB.CommandButton cmdDown 
  22.       Caption         =   "Down"
  23.       Height          =   975
  24.       Left            =   9840
  25.       TabIndex        =   10
  26.       Top             =   8760
  27.       Width           =   975
  28.    End
  29.    Begin VB.CommandButton cmdNext 
  30.       Caption         =   "Next Turn"
  31.       Height          =   375
  32.       Left            =   2160
  33.       TabIndex        =   0
  34.       Top             =   600
  35.       Width           =   5535
  36.    End
  37.    Begin VB.Image Image1 
  38.       Height          =   960
  39.       Index           =   89
  40.       Left            =   8760
  41.       Picture         =   "Form1.frx":0000
  42.       Top             =   8760
  43.       Width           =   960
  44.    End
  45.    Begin VB.Image Image1 
  46.       Height          =   960
  47.       Index           =   88
  48.       Left            =   7800
  49.       Picture         =   "Form1.frx":3042
  50.       Top             =   8760
  51.       Width           =   960
  52.    End
  53.    Begin VB.Image Image1 
  54.       Height          =   960
  55.       Index           =   87
  56.       Left            =   6840
  57.       Picture         =   "Form1.frx":6084
  58.       Top             =   8760
  59.       Width           =   960
  60.    End
  61.    Begin VB.Image Image1 
  62.       Height          =   960
  63.       Index           =   86
  64.       Left            =   5880
  65.       Picture         =   "Form1.frx":90C6
  66.       Top             =   8760
  67.       Width           =   960
  68.    End
  69.    Begin VB.Image Image1 
  70.       Height          =   960
  71.       Index           =   85
  72.       Left            =   4920
  73.       Picture         =   "Form1.frx":C108
  74.       Top             =   8760
  75.       Width           =   960
  76.    End
  77.    Begin VB.Image Image1 
  78.       Height          =   960
  79.       Index           =   84
  80.       Left            =   3960
  81.       Picture         =   "Form1.frx":F14A
  82.       Top             =   8760
  83.       Width           =   960
  84.    End
  85.    Begin VB.Image Image1 
  86.       Height          =   960
  87.       Index           =   83
  88.       Left            =   3000
  89.       Picture         =   "Form1.frx":1218C
  90.       Top             =   8760
  91.       Width           =   960
  92.    End
  93.    Begin VB.Image Image1 
  94.       Height          =   960
  95.       Index           =   82
  96.       Left            =   2040
  97.       Picture         =   "Form1.frx":151CE
  98.       Top             =   8760
  99.       Width           =   960
  100.    End
  101.    Begin VB.Image Image1 
  102.       Height          =   960
  103.       Index           =   81
  104.       Left            =   1080
  105.       Picture         =   "Form1.frx":18210
  106.       Top             =   8760
  107.       Width           =   960
  108.    End
  109.    Begin VB.Image Image1 
  110.       Height          =   960
  111.       Index           =   80
  112.       Left            =   120
  113.       Picture         =   "Form1.frx":1B252
  114.       Top             =   8760
  115.       Width           =   960
  116.    End
  117.    Begin VB.Image Image1 
  118.       Height          =   960
  119.       Index           =   79
  120.       Left            =   8760
  121.       Picture         =   "Form1.frx":1E294
  122.       Top             =   7800
  123.       Width           =   960
  124.    End
  125.    Begin VB.Image Image1 
  126.       Height          =   960
  127.       Index           =   78
  128.       Left            =   7800
  129.       Picture         =   "Form1.frx":212D6
  130.       Top             =   7800
  131.       Width           =   960
  132.    End
  133.    Begin VB.Image Image1 
  134.       Height          =   960
  135.       Index           =   77
  136.       Left            =   6840
  137.       Picture         =   "Form1.frx":24318
  138.       Top             =   7800
  139.       Width           =   960
  140.    End
  141.    Begin VB.Image Image1 
  142.       Height          =   960
  143.       Index           =   76
  144.       Left            =   5880
  145.       Picture         =   "Form1.frx":2735A
  146.       Top             =   7800
  147.       Width           =   960
  148.    End
  149.    Begin VB.Image Image1 
  150.       Height          =   960
  151.       Index           =   75
  152.       Left            =   4920
  153.       Picture         =   "Form1.frx":2A39C
  154.       Top             =   7800
  155.       Width           =   960
  156.    End
  157.    Begin VB.Image Image1 
  158.       Height          =   960
  159.       Index           =   74
  160.       Left            =   3960
  161.       Picture         =   "Form1.frx":2D3DE
  162.       Top             =   7800
  163.       Width           =   960
  164.    End
  165.    Begin VB.Image Image1 
  166.       Height          =   960
  167.       Index           =   73
  168.       Left            =   3000
  169.       Picture         =   "Form1.frx":30420
  170.       Top             =   7800
  171.       Width           =   960
  172.    End
  173.    Begin VB.Image Image1 
  174.       Height          =   960
  175.       Index           =   72
  176.       Left            =   2040
  177.       Picture         =   "Form1.frx":33462
  178.       Top             =   7800
  179.       Width           =   960
  180.    End
  181.    Begin VB.Image Image1 
  182.       Height          =   960
  183.       Index           =   71
  184.       Left            =   1080
  185.       Picture         =   "Form1.frx":364A4
  186.       Top             =   7800
  187.       Width           =   960
  188.    End
  189.    Begin VB.Image Image1 
  190.       Height          =   960
  191.       Index           =   70
  192.       Left            =   120
  193.       Picture         =   "Form1.frx":394E6
  194.       Top             =   7800
  195.       Width           =   960
  196.    End
  197.    Begin VB.Image Image1 
  198.       Height          =   960
  199.       Index           =   69
  200.       Left            =   8760
  201.       Picture         =   "Form1.frx":3C528
  202.       Top             =   6840
  203.       Width           =   960
  204.    End
  205.    Begin VB.Image Image1 
  206.       Height          =   960
  207.       Index           =   68
  208.       Left            =   7800
  209.       Picture         =   "Form1.frx":3F56A
  210.       Top             =   6840
  211.       Width           =   960
  212.    End
  213.    Begin VB.Image Image1 
  214.       Height          =   960
  215.       Index           =   67
  216.       Left            =   6840
  217.       Picture         =   "Form1.frx":425AC
  218.       Top             =   6840
  219.       Width           =   960
  220.    End
  221.    Begin VB.Image Image1 
  222.       Height          =   960
  223.       Index           =   66
  224.       Left            =   5880
  225.       Picture         =   "Form1.frx":455EE
  226.       Top             =   6840
  227.       Width           =   960
  228.    End
  229.    Begin VB.Image Image1 
  230.       Height          =   960
  231.       Index           =   65
  232.       Left            =   4920
  233.       Picture         =   "Form1.frx":48630
  234.       Top             =   6840
  235.       Width           =   960
  236.    End
  237.    Begin VB.Image Image1 
  238.       Height          =   960
  239.       Index           =   64
  240.       Left            =   3960
  241.       Picture         =   "Form1.frx":4B672
  242.       Top             =   6840
  243.       Width           =   960
  244.    End
  245.    Begin VB.Image Image1 
  246.       Height          =   960
  247.       Index           =   63
  248.       Left            =   3000
  249.       Picture         =   "Form1.frx":4E6B4
  250.       Top             =   6840
  251.       Width           =   960
  252.    End
  253.    Begin VB.Image Image1 
  254.       Height          =   960
  255.       Index           =   62
  256.       Left            =   2040
  257.       Picture         =   "Form1.frx":516F6
  258.       Top             =   6840
  259.       Width           =   960
  260.    End
  261.    Begin VB.Image Image1 
  262.       Height          =   960
  263.       Index           =   61
  264.       Left            =   1080
  265.       Picture         =   "Form1.frx":54738
  266.       Top             =   6840
  267.       Width           =   960
  268.    End
  269.    Begin VB.Image Image1 
  270.       Height          =   960
  271.       Index           =   60
  272.       Left            =   120
  273.       Picture         =   "Form1.frx":5777A
  274.       Top             =   6840
  275.       Width           =   960
  276.    End
  277.    Begin VB.Image Image1 
  278.       Height          =   960
  279.       Index           =   59
  280.       Left            =   8760
  281.       Picture         =   "Form1.frx":5A7BC
  282.       Top             =   5880
  283.       Width           =   960
  284.    End
  285.    Begin VB.Image Image1 
  286.       Height          =   960
  287.       Index           =   58
  288.       Left            =   7800
  289.       Picture         =   "Form1.frx":5D7FE
  290.       Top             =   5880
  291.       Width           =   960
  292.    End
  293.    Begin VB.Image Image1 
  294.       Height          =   960
  295.       Index           =   57
  296.       Left            =   6840
  297.       Picture         =   "Form1.frx":60840
  298.       Top             =   5880
  299.       Width           =   960
  300.    End
  301.    Begin VB.Image Image1 
  302.       Height          =   960
  303.       Index           =   56
  304.       Left            =   5880
  305.       Picture         =   "Form1.frx":63882
  306.       Top             =   5880
  307.       Width           =   960
  308.    End
  309.    Begin VB.Image Image1 
  310.       Height          =   960
  311.       Index           =   55
  312.       Left            =   4920
  313.       Picture         =   "Form1.frx":668C4
  314.       Top             =   5880
  315.       Width           =   960
  316.    End
  317.    Begin VB.Image Image1 
  318.       Height          =   960
  319.       Index           =   54
  320.       Left            =   3960
  321.       Picture         =   "Form1.frx":69906
  322.       Top             =   5880
  323.       Width           =   960
  324.    End
  325.    Begin VB.Image Image1 
  326.       Height          =   960
  327.       Index           =   53
  328.       Left            =   3000
  329.       Picture         =   "Form1.frx":6C948
  330.       Top             =   5880
  331.       Width           =   960
  332.    End
  333.    Begin VB.Image Image1 
  334.       Height          =   960
  335.       Index           =   52
  336.       Left            =   2040
  337.       Picture         =   "Form1.frx":6F98A
  338.       Top             =   5880
  339.       Width           =   960
  340.    End
  341.    Begin VB.Image Image1 
  342.       Height          =   960
  343.       Index           =   51
  344.       Left            =   1080
  345.       Picture         =   "Form1.frx":729CC
  346.       Top             =   5880
  347.       Width           =   960
  348.    End
  349.    Begin VB.Image Image1 
  350.       Height          =   960
  351.       Index           =   50
  352.       Left            =   120
  353.       Picture         =   "Form1.frx":75A0E
  354.       Top             =   5880
  355.       Width           =   960
  356.    End
  357.    Begin VB.Image blank 
  358.       Height          =   960
  359.       Left            =   9000
  360.       Picture         =   "Form1.frx":78A50
  361.       Top             =   1080
  362.       Visible         =   0   'False
  363.       Width           =   960
  364.    End
  365.    Begin VB.Label turn 
  366.       Alignment       =   2  'Center
  367.       BackStyle       =   0  'Transparent
  368.       Caption         =   "EMINENT UK"
  369.       Height          =   255
  370.       Left            =   3120
  371.       TabIndex        =   9
  372.       Top             =   240
  373.       Width           =   3615
  374.    End
  375.    Begin VB.Shape box 
  376.       BorderStyle     =   0  'Transparent
  377.       FillColor       =   &H0080FF80&
  378.       FillStyle       =   0  'Solid
  379.       Height          =   495
  380.       Left            =   2160
  381.       Top             =   120
  382.       Width           =   5535
  383.    End
  384.    Begin VB.Label name2 
  385.       BackStyle       =   0  'Transparent
  386.       Caption         =   "BLUE"
  387.       BeginProperty Font 
  388.          Name            =   "Arial"
  389.          Size            =   8.25
  390.          Charset         =   0
  391.          Weight          =   700
  392.          Underline       =   0   'False
  393.          Italic          =   0   'False
  394.          Strikethrough   =   0   'False
  395.       EndProperty
  396.       ForeColor       =   &H00FF0000&
  397.       Height          =   255
  398.       Left            =   7920
  399.       TabIndex        =   8
  400.       Top             =   360
  401.       Width           =   1695
  402.    End
  403.    Begin VB.Label points2 
  404.       BackStyle       =   0  'Transparent
  405.       Caption         =   "0"
  406.       Height          =   255
  407.       Left            =   8520
  408.       TabIndex        =   7
  409.       Top             =   720
  410.       Width           =   1455
  411.    End
  412.    Begin VB.Label Label3 
  413.       BackStyle       =   0  'Transparent
  414.       Caption         =   "Points:"
  415.       Height          =   255
  416.       Left            =   7920
  417.       TabIndex        =   6
  418.       Top             =   720
  419.       Width           =   1575
  420.    End
  421.    Begin VB.Label Label2 
  422.       BackStyle       =   0  'Transparent
  423.       Caption         =   "PLAYER 2:"
  424.       Height          =   255
  425.       Left            =   7920
  426.       TabIndex        =   5
  427.       Top             =   120
  428.       Width           =   1095
  429.    End
  430.    Begin VB.Label name1 
  431.       BackStyle       =   0  'Transparent
  432.       Caption         =   "RED"
  433.       BeginProperty Font 
  434.          Name            =   "Arial"
  435.          Size            =   8.25
  436.          Charset         =   0
  437.          Weight          =   700
  438.          Underline       =   0   'False
  439.          Italic          =   0   'False
  440.          Strikethrough   =   0   'False
  441.       EndProperty
  442.       ForeColor       =   &H000000FF&
  443.       Height          =   255
  444.       Left            =   240
  445.       TabIndex        =   4
  446.       Top             =   360
  447.       Width           =   1695
  448.    End
  449.    Begin VB.Label points1 
  450.       BackStyle       =   0  'Transparent
  451.       Caption         =   "0"
  452.       Height          =   255
  453.       Left            =   840
  454.       TabIndex        =   3
  455.       Top             =   720
  456.       Width           =   1215
  457.    End
  458.    Begin VB.Label label 
  459.       BackStyle       =   0  'Transparent
  460.       Caption         =   "Points:"
  461.       Height          =   255
  462.       Left            =   240
  463.       TabIndex        =   2
  464.       Top             =   720
  465.       Width           =   1695
  466.    End
  467.    Begin VB.Label Label1 
  468.       BackStyle       =   0  'Transparent
  469.       Caption         =   "PLAYER 1:"
  470.       Height          =   255
  471.       Left            =   240
  472.       TabIndex        =   1
  473.       Top             =   120
  474.       Width           =   1095
  475.    End
  476.    Begin VB.Image rocx 
  477.       Height          =   960
  478.       Left            =   9000
  479.       Picture         =   "Form1.frx":7BA92
  480.       Top             =   960
  481.       Visible         =   0   'False
  482.       Width           =   960
  483.    End
  484.    Begin VB.Image scix 
  485.       Height          =   960
  486.       Left            =   9000
  487.       Picture         =   "Form1.frx":7EAD4
  488.       Top             =   840
  489.       Visible         =   0   'False
  490.       Width           =   960
  491.    End
  492.    Begin VB.Image papx 
  493.       Height          =   960
  494.       Left            =   9000
  495.       Picture         =   "Form1.frx":81B16
  496.       Top             =   720
  497.       Visible         =   0   'False
  498.       Width           =   960
  499.    End
  500.    Begin VB.Image rock 
  501.       Height          =   960
  502.       Left            =   9000
  503.       Picture         =   "Form1.frx":84B58
  504.       Top             =   600
  505.       Visible         =   0   'False
  506.       Width           =   960
  507.    End
  508.    Begin VB.Image scis 
  509.       Height          =   960
  510.       Left            =   9000
  511.       Picture         =   "Form1.frx":87B9A
  512.       Top             =   480
  513.       Visible         =   0   'False
  514.       Width           =   960
  515.    End
  516.    Begin VB.Image pape 
  517.       Height          =   960
  518.       Left            =   9000
  519.       Picture         =   "Form1.frx":8ABDC
  520.       Top             =   360
  521.       Visible         =   0   'False
  522.       Width           =   960
  523.    End
  524.    Begin VB.Image red 
  525.       Height          =   960
  526.       Left            =   9000
  527.       Picture         =   "Form1.frx":8DC1E
  528.       Top             =   240
  529.       Visible         =   0   'False
  530.       Width           =   960
  531.    End
  532.    Begin VB.Image blu 
  533.       Height          =   960
  534.       Left            =   9000
  535.       Picture         =   "Form1.frx":90C60
  536.       Top             =   120
  537.       Visible         =   0   'False
  538.       Width           =   960
  539.    End
  540.    Begin VB.Image Image1 
  541.       Height          =   960
  542.       Index           =   49
  543.       Left            =   8760
  544.       Picture         =   "Form1.frx":93CA2
  545.       Top             =   4920
  546.       Width           =   960
  547.    End
  548.    Begin VB.Image Image1 
  549.       Height          =   960
  550.       Index           =   48
  551.       Left            =   7800
  552.       Picture         =   "Form1.frx":96CE4
  553.       Top             =   4920
  554.       Width           =   960
  555.    End
  556.    Begin VB.Image Image1 
  557.       Height          =   960
  558.       Index           =   47
  559.       Left            =   6840
  560.       Picture         =   "Form1.frx":99D26
  561.       Top             =   4920
  562.       Width           =   960
  563.    End
  564.    Begin VB.Image Image1 
  565.       Height          =   960
  566.       Index           =   46
  567.       Left            =   5880
  568.       Picture         =   "Form1.frx":9CD68
  569.       Top             =   4920
  570.       Width           =   960
  571.    End
  572.    Begin VB.Image Image1 
  573.       Height          =   960
  574.       Index           =   45
  575.       Left            =   4920
  576.       Picture         =   "Form1.frx":9FDAA
  577.       Top             =   4920
  578.       Width           =   960
  579.    End
  580.    Begin VB.Image Image1 
  581.       Height          =   960
  582.       Index           =   44
  583.       Left            =   3960
  584.       Picture         =   "Form1.frx":A2DEC
  585.       Top             =   4920
  586.       Width           =   960
  587.    End
  588.    Begin VB.Image Image1 
  589.       Height          =   960
  590.       Index           =   43
  591.       Left            =   3000
  592.       Picture         =   "Form1.frx":A5E2E
  593.       Top             =   4920
  594.       Width           =   960
  595.    End
  596.    Begin VB.Image Image1 
  597.       Height          =   960
  598.       Index           =   42
  599.       Left            =   2040
  600.       Picture         =   "Form1.frx":A8E70
  601.       Top             =   4920
  602.       Width           =   960
  603.    End
  604.    Begin VB.Image Image1 
  605.       Height          =   960
  606.       Index           =   41
  607.       Left            =   1080
  608.       Picture         =   "Form1.frx":ABEB2
  609.       Top             =   4920
  610.       Width           =   960
  611.    End
  612.    Begin VB.Image Image1 
  613.       Height          =   960
  614.       Index           =   40
  615.       Left            =   120
  616.       Picture         =   "Form1.frx":AEEF4
  617.       Top             =   4920
  618.       Width           =   960
  619.    End
  620.    Begin VB.Image Image1 
  621.       Height          =   960
  622.       Index           =   39
  623.       Left            =   8760
  624.       Picture         =   "Form1.frx":B1F36
  625.       Top             =   3960
  626.       Width           =   960
  627.    End
  628.    Begin VB.Image Image1 
  629.       Height          =   960
  630.       Index           =   38
  631.       Left            =   7800
  632.       Picture         =   "Form1.frx":B4F78
  633.       Top             =   3960
  634.       Width           =   960
  635.    End
  636.    Begin VB.Image Image1 
  637.       Height          =   960
  638.       Index           =   37
  639.       Left            =   6840
  640.       Picture         =   "Form1.frx":B7FBA
  641.       Top             =   3960
  642.       Width           =   960
  643.    End
  644.    Begin VB.Image Image1 
  645.       Height          =   960
  646.       Index           =   36
  647.       Left            =   5880
  648.       Picture         =   "Form1.frx":BAFFC
  649.       Top             =   3960
  650.       Width           =   960
  651.    End
  652.    Begin VB.Image Image1 
  653.       Height          =   960
  654.       Index           =   35
  655.       Left            =   4920
  656.       Picture         =   "Form1.frx":BE03E
  657.       Top             =   3960
  658.       Width           =   960
  659.    End
  660.    Begin VB.Image Image1 
  661.       Height          =   960
  662.       Index           =   34
  663.       Left            =   3960
  664.       Picture         =   "Form1.frx":C1080
  665.       Top             =   3960
  666.       Width           =   960
  667.    End
  668.    Begin VB.Image Image1 
  669.       Height          =   960
  670.       Index           =   33
  671.       Left            =   3000
  672.       Picture         =   "Form1.frx":C40C2
  673.       Top             =   3960
  674.       Width           =   960
  675.    End
  676.    Begin VB.Image Image1 
  677.       Height          =   960
  678.       Index           =   32
  679.       Left            =   2040
  680.       Picture         =   "Form1.frx":C7104
  681.       Top             =   3960
  682.       Width           =   960
  683.    End
  684.    Begin VB.Image Image1 
  685.       Height          =   960
  686.       Index           =   31
  687.       Left            =   1080
  688.       Picture         =   "Form1.frx":CA146
  689.       Top             =   3960
  690.       Width           =   960
  691.    End
  692.    Begin VB.Image Image1 
  693.       Height          =   960
  694.       Index           =   30
  695.       Left            =   120
  696.       Picture         =   "Form1.frx":CD188
  697.       Top             =   3960
  698.       Width           =   960
  699.    End
  700.    Begin VB.Image Image1 
  701.       Height          =   960
  702.       Index           =   29
  703.       Left            =   8760
  704.       Picture         =   "Form1.frx":D01CA
  705.       Top             =   3000
  706.       Width           =   960
  707.    End
  708.    Begin VB.Image Image1 
  709.       Height          =   960
  710.       Index           =   28
  711.       Left            =   7800
  712.       Picture         =   "Form1.frx":D320C
  713.       Top             =   3000
  714.       Width           =   960
  715.    End
  716.    Begin VB.Image Image1 
  717.       Height          =   960
  718.       Index           =   27
  719.       Left            =   6840
  720.       Picture         =   "Form1.frx":D624E
  721.       Top             =   3000
  722.       Width           =   960
  723.    End
  724.    Begin VB.Image Image1 
  725.       Height          =   960
  726.       Index           =   26
  727.       Left            =   5880
  728.       Picture         =   "Form1.frx":D9290
  729.       Top             =   3000
  730.       Width           =   960
  731.    End
  732.    Begin VB.Image Image1 
  733.       Height          =   960
  734.       Index           =   25
  735.       Left            =   4920
  736.       Picture         =   "Form1.frx":DC2D2
  737.       Top             =   3000
  738.       Width           =   960
  739.    End
  740.    Begin VB.Image Image1 
  741.       Height          =   960
  742.       Index           =   24
  743.       Left            =   3960
  744.       Picture         =   "Form1.frx":DF314
  745.       Top             =   3000
  746.       Width           =   960
  747.    End
  748.    Begin VB.Image Image1 
  749.       Height          =   960
  750.       Index           =   23
  751.       Left            =   3000
  752.       Picture         =   "Form1.frx":E2356
  753.       Top             =   3000
  754.       Width           =   960
  755.    End
  756.    Begin VB.Image Image1 
  757.       Height          =   960
  758.       Index           =   22
  759.       Left            =   2040
  760.       Picture         =   "Form1.frx":E5398
  761.       Top             =   3000
  762.       Width           =   960
  763.    End
  764.    Begin VB.Image Image1 
  765.       Height          =   960
  766.       Index           =   21
  767.       Left            =   1080
  768.       Picture         =   "Form1.frx":E83DA
  769.       Top             =   3000
  770.       Width           =   960
  771.    End
  772.    Begin VB.Image Image1 
  773.       Height          =   960
  774.       Index           =   20
  775.       Left            =   120
  776.       Picture         =   "Form1.frx":EB41C
  777.       Top             =   3000
  778.       Width           =   960
  779.    End
  780.    Begin VB.Image Image1 
  781.       Height          =   960
  782.       Index           =   19
  783.       Left            =   8760
  784.       Picture         =   "Form1.frx":EE45E
  785.       Top             =   2040
  786.       Width           =   960
  787.    End
  788.    Begin VB.Image Image1 
  789.       Height          =   960
  790.       Index           =   18
  791.       Left            =   7800
  792.       Picture         =   "Form1.frx":F14A0
  793.       Top             =   2040
  794.       Width           =   960
  795.    End
  796.    Begin VB.Image Image1 
  797.       Height          =   960
  798.       Index           =   17
  799.       Left            =   6840
  800.       Picture         =   "Form1.frx":F44E2
  801.       Top             =   2040
  802.       Width           =   960
  803.    End
  804.    Begin VB.Image Image1 
  805.       Height          =   960
  806.       Index           =   16
  807.       Left            =   5880
  808.       Picture         =   "Form1.frx":F7524
  809.       Top             =   2040
  810.       Width           =   960
  811.    End
  812.    Begin VB.Image Image1 
  813.       Height          =   960
  814.       Index           =   15
  815.       Left            =   4920
  816.       Picture         =   "Form1.frx":FA566
  817.       Top             =   2040
  818.       Width           =   960
  819.    End
  820.    Begin VB.Image Image1 
  821.       Height          =   960
  822.       Index           =   14
  823.       Left            =   3960
  824.       Picture         =   "Form1.frx":FD5A8
  825.       Top             =   2040
  826.       Width           =   960
  827.    End
  828.    Begin VB.Image Image1 
  829.       Height          =   960
  830.       Index           =   13
  831.       Left            =   3000
  832.       Picture         =   "Form1.frx":1005EA
  833.       Top             =   2040
  834.       Width           =   960
  835.    End
  836.    Begin VB.Image Image1 
  837.       Height          =   960
  838.       Index           =   12
  839.       Left            =   2040
  840.       Picture         =   "Form1.frx":10362C
  841.       Top             =   2040
  842.       Width           =   960
  843.    End
  844.    Begin VB.Image Image1 
  845.       Height          =   960
  846.       Index           =   11
  847.       Left            =   1080
  848.       Picture         =   "Form1.frx":10666E
  849.       Top             =   2040
  850.       Width           =   960
  851.    End
  852.    Begin VB.Image Image1 
  853.       Height          =   960
  854.       Index           =   10
  855.       Left            =   120
  856.       Picture         =   "Form1.frx":1096B0
  857.       Top             =   2040
  858.       Width           =   960
  859.    End
  860.    Begin VB.Image Image1 
  861.       Height          =   960
  862.       Index           =   9
  863.       Left            =   8760
  864.       Picture         =   "Form1.frx":10C6F2
  865.       Top             =   1080
  866.       Width           =   960
  867.    End
  868.    Begin VB.Image Image1 
  869.       Height          =   960
  870.       Index           =   8
  871.       Left            =   7800
  872.       Picture         =   "Form1.frx":10F734
  873.       Top             =   1080
  874.       Width           =   960
  875.    End
  876.    Begin VB.Image Image1 
  877.       Height          =   960
  878.       Index           =   7
  879.       Left            =   6840
  880.       Picture         =   "Form1.frx":112776
  881.       Top             =   1080
  882.       Width           =   960
  883.    End
  884.    Begin VB.Image Image1 
  885.       Height          =   960
  886.       Index           =   6
  887.       Left            =   5880
  888.       Picture         =   "Form1.frx":1157B8
  889.       Top             =   1080
  890.       Width           =   960
  891.    End
  892.    Begin VB.Image Image1 
  893.       Height          =   960
  894.       Index           =   5
  895.       Left            =   4920
  896.       Picture         =   "Form1.frx":1187FA
  897.       Top             =   1080
  898.       Width           =   960
  899.    End
  900.    Begin VB.Image Image1 
  901.       Height          =   960
  902.       Index           =   4
  903.       Left            =   3960
  904.       Picture         =   "Form1.frx":11B83C
  905.       Top             =   1080
  906.       Width           =   960
  907.    End
  908.    Begin VB.Image Image1 
  909.       Height          =   960
  910.       Index           =   3
  911.       Left            =   3000
  912.       Picture         =   "Form1.frx":11E87E
  913.       Top             =   1080
  914.       Width           =   960
  915.    End
  916.    Begin VB.Image Image1 
  917.       Height          =   960
  918.       Index           =   2
  919.       Left            =   2040
  920.       Picture         =   "Form1.frx":1218C0
  921.       Top             =   1080
  922.       Width           =   960
  923.    End
  924.    Begin VB.Image Image1 
  925.       Height          =   960
  926.       Index           =   1
  927.       Left            =   1080
  928.       Picture         =   "Form1.frx":124902
  929.       Top             =   1080
  930.       Width           =   960
  931.    End
  932.    Begin VB.Image Image1 
  933.       Height          =   960
  934.       Index           =   0
  935.       Left            =   120
  936.       Picture         =   "Form1.frx":127944
  937.       Top             =   1080
  938.       Width           =   960
  939.    End
  940.    Begin VB.Shape Shape1 
  941.       BorderStyle     =   0  'Transparent
  942.       FillColor       =   &H008080FF&
  943.       FillStyle       =   0  'Solid
  944.       Height          =   855
  945.       Left            =   120
  946.       Top             =   120
  947.       Width           =   1935
  948.    End
  949.    Begin VB.Shape Shape2 
  950.       BorderStyle     =   0  'Transparent
  951.       FillColor       =   &H00FFFF80&
  952.       FillStyle       =   0  'Solid
  953.       Height          =   855
  954.       Left            =   7800
  955.       Top             =   120
  956.       Width           =   1935
  957.    End
  958.    Begin VB.Image PT 
  959.       Height          =   960
  960.       Left            =   9000
  961.       Picture         =   "Form1.frx":12A986
  962.       Top             =   0
  963.       Visible         =   0   'False
  964.       Width           =   960
  965.    End
  966.    Begin VB.Menu mnuGame 
  967.       Caption         =   "&Game"
  968.       Begin VB.Menu mnuReset 
  969.          Caption         =   "New"
  970.          Shortcut        =   {F2}
  971.       End
  972.       Begin VB.Menu mnuRAN 
  973.          Caption         =   "&Random"
  974.          Shortcut        =   ^R
  975.       End
  976.    End
  977. Attribute VB_Name = "NaffGame"
  978. Attribute VB_GlobalNameSpace = False
  979. Attribute VB_Creatable = False
  980. Attribute VB_PredeclaredId = True
  981. Attribute VB_Exposed = False
  982. 'You might find this code a bit messy.  %-)  Sorry.  It works for me!   :D
  983. '-RAN
  984. 'rnicol@khi-ro.co.uk
  985. Dim gimp(89)
  986. Dim p1
  987. Dim p2
  988. Dim go
  989. Dim Curr
  990. Dim ini
  991. Dim def1
  992. Dim def2
  993. Dim skin
  994. Dim gone
  995. Dim st
  996. Dim mgone
  997. Private Sub cmdUp_Click()
  998. If mgone = True Then Exit Sub
  999. mgone = True
  1000. Dim pimp(89)
  1001. For i = 0 To 9
  1002.     If gimp(i) = "scix" Then pimp(i + 80) = "scix"
  1003.     If gimp(i) = "rocx" Then pimp(i + 80) = "rocx"
  1004.     If gimp(i) = "papx" Then pimp(i + 80) = "papx"
  1005.     If gimp(i) = "scis" Then pimp(i + 80) = "scis"
  1006.     If gimp(i) = "rock" Then pimp(i + 80) = "rock"
  1007.     If gimp(i) = "pape" Then pimp(i + 80) = "pape"
  1008.     If gimp(i) = "blank" Then pimp(i + 80) = "blank"
  1009.     If gimp(i) = "red" Then pimp(i + 80) = "red"
  1010.     If gimp(i) = "blu" Then pimp(i + 80) = "blu"
  1011. Next i
  1012. For i = 10 To 89
  1013.     If gimp(i) = "scix" Then pimp(i - 10) = "scix"
  1014.     If gimp(i) = "rocx" Then pimp(i - 10) = "rocx"
  1015.     If gimp(i) = "papx" Then pimp(i - 10) = "papx"
  1016.     If gimp(i) = "scis" Then pimp(i - 10) = "scis"
  1017.     If gimp(i) = "rock" Then pimp(i - 10) = "rock"
  1018.     If gimp(i) = "pape" Then pimp(i - 10) = "pape"
  1019.     If gimp(i) = "blank" Then pimp(i - 10) = "blank"
  1020.     If gimp(i) = "red" Then pimp(i - 10) = "red"
  1021.     If gimp(i) = "blu" Then pimp(i - 10) = "blu"
  1022. Next i
  1023. For i = 0 To 89
  1024. gimp(i) = pimp(i)
  1025. Next i
  1026. Updateboard
  1027. UpdateScores
  1028. st = True
  1029. gone = True
  1030. cmdNext_Click
  1031. End Sub
  1032. Private Sub cmdDown_Click()
  1033. If mgone = True Then Exit Sub
  1034. mgone = True
  1035. Dim pimp(89)
  1036. For i = 80 To 89
  1037.     If gimp(i) = "scix" Then pimp(i - 80) = "scix"
  1038.     If gimp(i) = "rocx" Then pimp(i - 80) = "rocx"
  1039.     If gimp(i) = "papx" Then pimp(i - 80) = "papx"
  1040.     If gimp(i) = "scis" Then pimp(i - 80) = "scis"
  1041.     If gimp(i) = "rock" Then pimp(i - 80) = "rock"
  1042.     If gimp(i) = "pape" Then pimp(i - 80) = "pape"
  1043.     If gimp(i) = "blank" Then pimp(i - 80) = "blank"
  1044.     If gimp(i) = "red" Then pimp(i - 80) = "red"
  1045.     If gimp(i) = "blu" Then pimp(i - 80) = "blu"
  1046. Next i
  1047. For i = 0 To 79
  1048.     If gimp(i) = "scix" Then pimp(i + 10) = "scix"
  1049.     If gimp(i) = "rocx" Then pimp(i + 10) = "rocx"
  1050.     If gimp(i) = "papx" Then pimp(i + 10) = "papx"
  1051.     If gimp(i) = "scis" Then pimp(i + 10) = "scis"
  1052.     If gimp(i) = "rock" Then pimp(i + 10) = "rock"
  1053.     If gimp(i) = "pape" Then pimp(i + 10) = "pape"
  1054.     If gimp(i) = "blank" Then pimp(i + 10) = "blank"
  1055.     If gimp(i) = "red" Then pimp(i + 10) = "red"
  1056.     If gimp(i) = "blu" Then pimp(i + 10) = "blu"
  1057. Next i
  1058. For i = 0 To 89
  1059. gimp(i) = pimp(i)
  1060. Next i
  1061. Updateboard
  1062. UpdateScores
  1063. gone = True
  1064. st = True
  1065. cmdNext_Click
  1066. End Sub
  1067. Private Sub cmdNext_Click()
  1068. If gone = False Then Exit Sub
  1069. For i = 0 To 89
  1070.     If gimp(i) = "scix" Then gimp(i) = "scis"
  1071.     If gimp(i) = "rocx" Then gimp(i) = "rock"
  1072.     If gimp(i) = "papx" Then gimp(i) = "pape"
  1073. Next i
  1074. Updateboard
  1075. Dim stay
  1076. stay = False
  1077. If st = True Then stay = True
  1078. st = False
  1079. For i = 0 To 89
  1080. Dim a1
  1081. Dim a2
  1082. a1 = False
  1083. a2 = False
  1084. If i > 0 And i < 89 Then a1 = True
  1085. If i > 9 And i < 80 Then a2 = True
  1086. If gimp(i) = "pape" Then
  1087.     If a1 = True Then
  1088.         If gimp(i - 1) = "scis" And gimp(i + 1) = "scis" Then
  1089.             If go = "RED" Then gimp(i) = "red": p1 = p1 + 1
  1090.             If go = "BLUE" Then gimp(i) = "blu": p2 = p2 + 1
  1091.             stay = True
  1092.             mgone = False
  1093.         End If
  1094.     End If
  1095.     If a2 = True Then
  1096.         If gimp(i - 10) = "scis" And gimp(i + 10) = "scis" Then
  1097.             If go = "RED" Then gimp(i) = "red": p1 = p1 + 1
  1098.             If go = "BLUE" Then gimp(i) = "blu": p2 = p2 + 1
  1099.             stay = True
  1100.             mgone = False
  1101.             End If
  1102.     End If
  1103. End If
  1104. If gimp(i) = "scis" Then
  1105.     If a1 = True Then
  1106.         If gimp(i - 1) = "rock" And gimp(i + 1) = "rock" Then
  1107.             If go = "RED" Then gimp(i) = "red": p1 = p1 + 1
  1108.             If go = "BLUE" Then gimp(i) = "blu": p2 = p2 + 1
  1109.             stay = True
  1110.             mgone = False
  1111.         End If
  1112.     End If
  1113.     If a2 = True Then
  1114.         If gimp(i - 10) = "rock" And gimp(i + 10) = "rock" Then
  1115.             If go = "RED" Then gimp(i) = "red": p1 = p1 + 1
  1116.             If go = "BLUE" Then gimp(i) = "blu": p2 = p2 + 1
  1117.             stay = True
  1118.             mgone = False
  1119.             End If
  1120.     End If
  1121. End If
  1122. If gimp(i) = "rock" Then
  1123.     If a1 = True Then
  1124.         If gimp(i - 1) = "pape" And gimp(i + 1) = "pape" Then
  1125.             If go = "RED" Then gimp(i) = "red": p1 = p1 + 1
  1126.             If go = "BLUE" Then gimp(i) = "blu": p2 = p2 + 1
  1127.             stay = True
  1128.             mgone = False
  1129.             End If
  1130.     End If
  1131.     If a2 = True Then
  1132.         If gimp(i - 10) = "pape" And gimp(i + 10) = "pape" Then
  1133.             If go = "RED" Then gimp(i) = "red": p1 = p1 + 1
  1134.             If go = "BLUE" Then gimp(i) = "blu": p2 = p2 + 1
  1135.             mgone = False
  1136.             stay = True
  1137.             End If
  1138.     End If
  1139. End If
  1140. Next i
  1141. Updateboard
  1142. UpdateScores
  1143. If stay = False Then
  1144. mgone = False
  1145. If go = "RED" Then
  1146.     P2Turn
  1147.     Else
  1148.     P1Turn
  1149.     End If
  1150. End If
  1151. gone = False
  1152. Curr = "X"
  1153. End Sub
  1154. Private Sub Command1_Click()
  1155. End Sub
  1156. Private Sub mnuReset_Click()
  1157. p1 = 0
  1158. p2 = 0
  1159. UpdateScores
  1160. Clearboard
  1161. gone = False
  1162. P1Turn
  1163. End Sub
  1164. Private Sub mnuRAN_Click()
  1165. gone = False
  1166. P1Turn
  1167. p1 = 0
  1168. p2 = 0
  1169. UpdateScores
  1170. Clearboard
  1171. For i = 0 To 89
  1172. Randomize
  1173. RAN = Int((9 * Rnd) + 1)    ' Generate random value between 1 and 6.
  1174. If RAN = 1 Then gimp(i) = "pape"
  1175. If RAN = 2 Then gimp(i) = "scis"
  1176. If RAN = 3 Then gimp(i) = "rock"
  1177. Next i
  1178. For i = 0 To 89
  1179. Dim a1
  1180. Dim a2
  1181. Dim stay
  1182. stay = False
  1183. a1 = False
  1184. a2 = False
  1185. If i > 0 And i < 89 Then a1 = True
  1186. If i > 9 And i < 80 Then a2 = True
  1187. If gimp(i) = "pape" Then
  1188.     If a1 = True Then
  1189.         If gimp(i - 1) = "scis" And gimp(i + 1) = "scis" Then
  1190.             gimp(i) = "blank"
  1191.         End If
  1192.     End If
  1193.     If a2 = True Then
  1194.         If gimp(i - 10) = "scis" And gimp(i + 10) = "scis" Then
  1195.             gimp(i) = "blank"
  1196.             End If
  1197.     End If
  1198. End If
  1199. If gimp(i) = "scis" Then
  1200.     If a1 = True Then
  1201.         If gimp(i - 1) = "rock" And gimp(i + 1) = "rock" Then
  1202.             gimp(i) = "blank"
  1203.         End If
  1204.     End If
  1205.     If a2 = True Then
  1206.         If gimp(i - 10) = "rock" And gimp(i + 10) = "rock" Then
  1207.             gimp(i) = "blank"
  1208.             End If
  1209.     End If
  1210. End If
  1211. If gimp(i) = "rock" Then
  1212.     If a1 = True Then
  1213.         If gimp(i - 1) = "pape" And gimp(i + 1) = "pape" Then
  1214.             gimp(i) = "blank"
  1215.             End If
  1216.     End If
  1217.     If a2 = True Then
  1218.         If gimp(i - 10) = "pape" And gimp(i + 10) = "pape" Then
  1219.             gimp(i) = "blank"
  1220.             End If
  1221.     End If
  1222. End If
  1223. Next i
  1224. Updateboard
  1225. End Sub
  1226. Private Sub Form_Load()
  1227. mgone = False
  1228. gone = False
  1229.         Open (App.Path & "\sets.ini") For Input As #1
  1230.                 
  1231.         ini = Input$(LOF(1), #1)
  1232. Dim p1name
  1233. Dim p2name
  1234. p1pos = InStr(1, ini, "Player1:", 1) + 7
  1235. p2pos = InStr(1, ini, "Player2:", 1) + 7
  1236. p1end = InStr(1, ini, ":Player1", 1) - 1
  1237. p2end = InStr(1, ini, ":Player2", 1) - 1
  1238. skinpos = InStr(1, ini, "GFX:", 1) + 3
  1239. skinend = InStr(1, ini, ":GFX", 1) - 1
  1240. skinx = Left(ini, skinend)
  1241. skinx = Trim(Right(skinx, Len(skinx) - skinpos))
  1242. If skinx <> "" Then skin = App.Path & "\" & skinx
  1243. If skin <> "" Then
  1244. Dim objPic As Picture
  1245. Set objPic = LoadPicture(skin & "\scix.bmp")
  1246. scix.Picture = objPic
  1247. Set objPic = LoadPicture(skin & "\scis.bmp")
  1248. scis.Picture = objPic
  1249. Set objPic = LoadPicture(skin & "\rocx.bmp")
  1250. rocx.Picture = objPic
  1251. Set objPic = LoadPicture(skin & "\rock.bmp")
  1252. rock.Picture = objPic
  1253. Set objPic = LoadPicture(skin & "\papx.bmp")
  1254. papx.Picture = objPic
  1255. Set objPic = LoadPicture(skin & "\pape.bmp")
  1256. pape.Picture = objPic
  1257. Set objPic = LoadPicture(skin & "\blank.bmp")
  1258. blank.Picture = objPic
  1259. Set objPic = LoadPicture(skin & "\blu.bmp")
  1260. blu.Picture = objPic
  1261. Set objPic = LoadPicture(skin & "\red.bmp")
  1262. red.Picture = objPic
  1263. End If
  1264. p1name = Left(ini, p1end)
  1265. p2name = Left(ini, p2end)
  1266. p1name = Right(p1name, Len(p1name) - p1pos)
  1267. p2name = Right(p2name, Len(p2name) - p2pos)
  1268. p1name = Trim(p1name)
  1269. p2name = Trim(p2name)
  1270. def1 = p1name
  1271. def2 = p2name
  1272. If p1name = "Peter Thomas" Then
  1273. name1.Caption = "SATAN"
  1274. name1.Caption = p1name
  1275. End If
  1276. If p2name = "Peter Thomas" Then
  1277. name2.Caption = "SATAN"
  1278. name2.Caption = p2name
  1279. End If
  1280. Clearboard
  1281. P1Turn
  1282. Curr = "X"
  1283. gone = False
  1284. End Sub
  1285. Private Sub Clearboard()
  1286. p1 = 0
  1287. p2 = 0
  1288. UpdateScores
  1289. For i = 0 To 89
  1290.     gimp(i) = "blank"
  1291. Next i
  1292. Updateboard
  1293. End Sub
  1294. Private Sub Updateboard()
  1295. For i = 0 To 89
  1296. If gimp(i) = "blank" Then Image1(i).Picture = blank.Picture
  1297. If gimp(i) = "red" Then Image1(i).Picture = red.Picture
  1298. If gimp(i) = "blu" Then Image1(i).Picture = blu.Picture
  1299. If gimp(i) = "scis" Then Image1(i).Picture = scis.Picture
  1300. If gimp(i) = "rock" Then Image1(i).Picture = rock.Picture
  1301. If gimp(i) = "pape" Then Image1(i).Picture = pape.Picture
  1302. If gimp(i) = "scix" Then Image1(i).Picture = scix.Picture
  1303. If gimp(i) = "rocx" Then Image1(i).Picture = rocx.Picture
  1304. If gimp(i) = "papx" Then Image1(i).Picture = papx.Picture
  1305. Next i
  1306. End Sub
  1307. Private Sub P1Turn()
  1308. box.FillColor = &H8080FF
  1309. turn.Caption = name1.Caption & "'s turn"
  1310. go = "RED"
  1311. Curr = "X"
  1312. End Sub
  1313. Private Sub P2Turn()
  1314. box.FillColor = &HFFFF80
  1315. turn.Caption = name2.Caption & "'s turn"
  1316. go = "BLUE"
  1317. Curr = "X"
  1318. End Sub
  1319. Private Sub UpdateScores()
  1320. points1.Caption = p1
  1321. points2.Caption = p2
  1322. End Sub
  1323. Private Sub name1_Click()
  1324. Dim message, title, p1name
  1325. message = "Enter your name, Player 1:"
  1326. title = "Name"
  1327. p1name = InputBox(message, title, def1)
  1328. If p1name = "Peter Thomas" Then
  1329. name1.Caption = "GAMESHOWHOST"
  1330. name2.Caption = "SANJAY"
  1331. blank.Picture = PT.Picture
  1332. Updateboard
  1333. name1.Caption = p1name
  1334. End If
  1335. If go = "RED" Then turn.Caption = name1.Caption & "'s turn"
  1336. If name1.Caption = "" Then name1.Caption = def1
  1337. End Sub
  1338. Private Sub name2_Click()
  1339. Dim message, title, p2name
  1340. message = "Enter your name, Player 2:"
  1341. title = "Name"
  1342. p2name = InputBox(message, title, def2)
  1343. If p2name = "Peter Thomas" Then
  1344. name2.Caption = "GAMESHOWHOST"
  1345. name1.Caption = "SANJAY"
  1346. blank.Picture = PT.Picture
  1347. Updateboard
  1348. name2.Caption = p2name
  1349. End If
  1350. If go = "BLUE" Then turn.Caption = name2.Caption & "'s turn"
  1351. If name2.Caption = "" Then name2.Caption = def2
  1352. End Sub
  1353. Private Sub Image1_Click(Index As Integer)
  1354. If gimp(Index) = "red" Then Exit Sub
  1355. If gimp(Index) = "blu" Then Exit Sub
  1356. If gimp(Index) = "scis" Then Exit Sub
  1357. If gimp(Index) = "rock" Then Exit Sub
  1358. If gimp(Index) = "pape" Then Exit Sub
  1359. If Curr = "X" Then Curr = Index
  1360. If Curr <> Index Then Exit Sub
  1361. Dim a
  1362. a = 1
  1363. If a = 1 Then
  1364.     If gimp(Index) = "blank" Then
  1365.     gimp(Index) = "scix"
  1366.     a = 0
  1367.     gone = True
  1368.     End If
  1369. End If
  1370. If a = 1 Then
  1371.     If gimp(Index) = "scix" Then
  1372.     gimp(Index) = "rocx"
  1373.     a = 0
  1374.     gone = True
  1375.     End If
  1376. End If
  1377. If a = 1 Then
  1378.     If gimp(Index) = "rocx" Then
  1379.     gimp(Index) = "papx"
  1380.     a = 0
  1381.     gone = True
  1382.     End If
  1383. End If
  1384. If a = 1 Then
  1385.     If gimp(Index) = "papx" Then
  1386.     gimp(Index) = "blank"
  1387.     Curr = "X"
  1388.     a = 0
  1389.     gone = False
  1390.     End If
  1391. End If
  1392. a = 0
  1393. Updateboard
  1394. End Sub
  1395.